package com.mccrea.pattern.builder;

/**
 * @Classname CommonHouse
 * @Description 普通房子
 * @Date 2021/5/8 0008 13:44
 * @Created by Mccrea_Gao
 */
public class CommonHouse extends HouseBuilder {
    @Override
    public void buildBasis() {
        house.setBasis("普通房子地基");
        System.out.println("普通房子打地基");
    }

    @Override
    public void buildWalls() {
        house.setWall("普通房子墙");
        System.out.println("普通房子砌墙");
    }

    @Override
    public void roofed() {
        house.setRoofed("普通房子顶");
        System.out.println("普通房子封顶");
    }
}
